package com.moioo.exam;

/**
 * TTmkAsk entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TTmkAsk implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer tid;
	private String ask;
	private String context;
	private String result;
	private Float score;
	private Integer displayorder;

	// Constructors

	/** default constructor */
	public TTmkAsk() {
	}

	/** minimal constructor */
	public TTmkAsk(Integer tid, String ask, String context) {
		this.tid = tid;
		this.ask = ask;
		this.context = context;
	}

	/** full constructor */
	public TTmkAsk(Integer tid, String ask, String context, String result,
			Float score, Integer displayorder) {
		this.tid = tid;
		this.ask = ask;
		this.context = context;
		this.result = result;
		this.score = score;
		this.displayorder = displayorder;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTid() {
		return this.tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getAsk() {
		return this.ask;
	}

	public void setAsk(String ask) {
		this.ask = ask;
	}

	public String getContext() {
		return this.context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getResult() {
		return this.result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public Float getScore() {
		return this.score;
	}

	public void setScore(Float score) {
		this.score = score;
	}

	public Integer getDisplayorder() {
		return this.displayorder;
	}

	public void setDisplayorder(Integer displayorder) {
		this.displayorder = displayorder;
	}
	public static TTmkAskDAO getDAO(){
		return new TTmkAskDAO();
	}
}